﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;

namespace WarningForeverClone.src.sprites
{
    public class Sprite
    {
        Texture2D texture;
        String textureName;

        public Sprite(String textureName)
        {
            this.textureName = textureName;
        }

        public void LoadContent(ContentManager content)
        {
            texture = content.Load<Texture2D>(textureName);
        }

        public Texture2D Texture
        {
            get { return texture; }
            set { texture = value; }
        }

    }
}
